package com.jiangjiang.eshop.purchase.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName PurchaseOrderEntity
 * @Description TODO
 * @Author jhw
 * @Date 2021/9/20 7:25
 * @Version 1.0
 **/
@Data
@TableName("purchase_order")
public class PurchaseOrderEntity {
    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 供应商id
     */
    @TableField("supplier_id")
    private Long supplierId;
    /**
     * 预期到货时间
     */
    @TableField("expect_arrival_time")
    private Date expectArrivalTime;
    /**
     * 采购联系人
     */
    @TableField("contractor")
    private String contractor;
    /**
     * 采购联系人电话号码
     */
    @TableField("contractor_phone_number")
    private String contactorPhoneNumber;
    /**
     * 采购联系人邮箱地址
     */
    @TableField("contractor_email")
    private String contractorEmail;
    /**
     * 采购单备注
     */
    @TableField("remark")
    private String remark;
    /**
     * 采购员
     */
    @TableField("purchaser")
    private String purchaser;
    /**
     * 采购单的状态
     */
    @TableField("status")
    private Integer status;
    /**
     * 采购单的创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
     * 采购单的修改时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}
